﻿<%@ Page Title="Boarding" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="DepBoarding.aspx.cs" Inherits="IFD2.DepBoarding" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <form id="form1" runat="server" role="form" class="form-inline">
    <%--<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>--%>
    <div class="container-fluid body-content" style="width:100%;">

    <div class="row">
        <div class="col-sm-2 well well-sm">
            <h5><asp:Literal ID="litTitle" runat="server" meta:resourcekey="tipPageTitle"></asp:Literal></h5>
            <div class="form-group">
                <asp:Label ID="Label5" runat="server" Text="Airport:" meta:resourcekey="Airport"></asp:Label>
                <asp:Label ID="lblAirport" runat="server" Font-Bold="True"></asp:Label>
            </div>
            <div class="form-group">
                <asp:Label ID="Label2" runat="server" Text="Flight Date:" meta:resourcekey="FlightDate"></asp:Label>
                <asp:TextBox ID="txtFltDate" runat="server" CssClass="form-control input-sm" Width="100%" MaxLength="12"></asp:TextBox>
            </div>
            <div class="form-group">
                <asp:Label ID="Label3" runat="server" Text="Airline:" meta:resourcekey="Airline"></asp:Label>
                <asp:Label ID="txtAirline" runat="server"></asp:Label>
            </div>
            <div class="form-group">
                <asp:Label ID="Label4" runat="server" Text="Flight No.:" meta:resourcekey="FlightNo"></asp:Label>
                <asp:TextBox ID="txtFltNo" runat="server" MaxLength="6" CssClass="form-control input-sm" Width="100%"></asp:TextBox>
            </div>
            <br class="hidden-xs" /><br class="hidden-xs" />
            <asp:LinkButton ID="lbtnQuery" runat="server" CssClass="form-control input-sm btn-primary text-center" Width="100%" ToolTip="" meta:resourcekey="tipQuery" OnClick="lbtnQuery_Click"> <span class="glyphicon glyphicon-search" style="font-size:large;"></span></asp:LinkButton>
            <p></p><%--没有此行(或&nbsp;)，上面的按钮在手机模式(xs)下，只有上半部可以点击！--%>
        </div>

        <div class="col-sm-10 well well-sm">
            <div class="panel">
                <div class="panel-heading btn-primary">
                    <h6 class="panel-title" id="section-2"><asp:Literal ID="Literal1" runat="server" meta:resourcekey="tipPageTitle"></asp:Literal></h6>
                </div>
                <div class="panel-body">

                    <div class="well well-sm">
                        <div class="form-group">
                        <asp:Label ID="Label1" runat="server" Text="Boarding Pass No.:" meta:resourcekey="BoardingPassNo"></asp:Label>
                        <asp:TextBox ID="txtPassNo" runat="server"></asp:TextBox>
                        </div>
                        <div class="btn-group">
                            <asp:Button ID="btnBoard" runat="server" Text="Board" Font-Bold="true" CssClass="btn btn-sm btn-default" OnClick="btnBoard_Click"  meta:resourcekey="Board" />
                            <asp:Button ID="btnUnboard" runat="server" Text="Unboard" CssClass="btn btn-sm btn-default" OnClick="btnUnboard_Click"  meta:resourcekey="Unboard" />
                        </div>
                        <br />
                        <asp:Label ID="lblError" runat="server" CssClass="ifdMessage"></asp:Label>
                    </div>
                    <div class="well well-sm">
                        <div class="table-responsive">
                            <table border='0' style="min-width:500px;">
                            <tr class="my_table_header">
                                <th><asp:Label ID="Label8" runat="server" Text="Name" meta:resourcekey="Name"></asp:Label></th>
                                <th><asp:Label ID="Label9" runat="server" Text="ID No." meta:resourcekey="IDNo"></asp:Label></th>
                                <th><asp:Label ID="Label10" runat="server" Text="Seat" meta:resourcekey="Seat"></asp:Label></th>
                            </tr>
                            <tr>
                                <td><asp:Label ID="lblName" runat="server"></asp:Label></td>
                                <td><asp:Label ID="lblIDNo" runat="server"></asp:Label></td>
                                <td><asp:Label ID="lblSeat" runat="server"></asp:Label></td>
                            </tr></table>
                        </div>
                    </div>
                    <div class="well well-sm">
                        <div class="table-responsive">
                            <table border='0' style="width:260px;">
                            <tr class="my_table_header">
                                <th><asp:Label ID="Label6" runat="server" Text="Boarded" meta:resourcekey="Boarded"></asp:Label></th>
                                <th><asp:Label ID="Label7" runat="server" Text="Checked-in" meta:resourcekey="Checkedin"></asp:Label></th>
                            </tr>
                            <tr>
                                <td><asp:Label ID="lblBoarded" runat="server"></asp:Label></td>
                                <td><asp:Label ID="lblCheckedIn" runat="server"></asp:Label></td>
                            </tr>
                            </table>
                        </div>
                        <asp:Literal ID="litSound" runat="server"></asp:Literal>
                    </div>
                </div>
            </div>
        </div>
    </div>

    </div>
    <%--</ContentTemplate></asp:UpdatePanel>--%>
    </form>
</asp:Content>
